package com.tvshows.service.show;

import com.tvshows.domain.Show;
import com.tvshows.repository.HistoriqueRepository;
import org.springframework.stereotype.Service;

import javax.inject.Inject;

/**
 * Created by Tangi on 06/03/2015.
 */
@Service
public class ShowService {


    @Inject
    private HistoriqueRepository historiqueRepository;

    public void addHistorique(Show show){

        historiqueRepository.add(show);
    }

}


